package com.xxxx.yeb.service.impl;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xxxx.yeb.pojo.Employee;
import com.xxxx.yeb.pojo.Salary;
import com.xxxx.yeb.mapper.SalaryMapper;
import com.xxxx.yeb.pojo.SalarySet;
import com.xxxx.yeb.service.ISalaryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author zhoubin
 * @since 2020-07-17
 */
@Service
public class SalaryServiceImpl extends ServiceImpl<SalaryMapper, Salary> implements ISalaryService {
    @Autowired
    private SalaryMapper salaryMapper;

    @Override
    public void deleteBySalary(Integer[] id) {

    }

    /**
     * @author yangxin
     * @date 2020/7/24
     * @param  * @param
     * @return 查询所有工资账套
     */
    public List<Salary> queryAllSalaries() {
        return salaryMapper.selectList(null);
    }


}
